package com.ehotting.edsta.mqbd.monitor;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * 监控中心
 *
 * @author mqbd
 */
//实现跨域注解
//origin="*"代表所有域名都可访问
//maxAge飞行前响应的缓存持续时间的最大年龄，简单来说就是Cookie的有效期 单位为秒
//若maxAge是负数,则代表为临时Cookie,不会被持久化,Cookie信息保存在浏览器内存中,浏览器关闭Cookie就消失

@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class },scanBasePackages = {"com.ehotting"})
public class MQBDMonitorApplication {
    public static void main(String[] args) {
        SpringApplication.run(MQBDMonitorApplication.class, args);
        System.out.println(" *** Monitor Server Start *** ");
    }
}
